package com.example.demo.client.evt.sysbasequery;

import com.ffcs.oss.param.in.QueryPageEvt;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;

/**
 * @Author zhengmf
 * @Date 2019/1/8  17:36
 */
@ApiModel("帮助目录管理查询参数")
public class QueryArticleCatalogEvt extends QueryPageEvt implements Serializable {
    private static final long serialVersionUID = 1051377995861758325L;
    @ApiModelProperty("所属目录Id")
    private Long catalogId;
    @ApiModelProperty("创建人")
    private String createUser;
    @ApiModelProperty("目录名称")
    private String catalogName;
    @ApiModelProperty("文章标题")
    private String articleTitle;
    @ApiModelProperty("文章关键字")
    private String articleKeyword;
    @ApiModelProperty("模糊搜索条件")
    private String retrieval;
    @ApiModelProperty("搜索整棵树")
    private boolean cascade = true;

    public Long getCatalogId() {
        return catalogId;
    }

    public void setCatalogId(Long catalogId) {
        this.catalogId = catalogId;
    }

    public String getCreateUser() {
        return createUser;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser;
    }

    public String getCatalogName() {
        return catalogName;
    }

    public void setCatalogName(String catalogName) {
        this.catalogName = catalogName;
    }

    public String getArticleTitle() {
        return articleTitle;
    }

    public void setArticleTitle(String articleTitle) {
        this.articleTitle = articleTitle;
    }

    public String getArticleKeyword() {
        return articleKeyword;
    }

    public void setArticleKeyword(String articleKeyword) {
        this.articleKeyword = articleKeyword;
    }

    public String getRetrieval() {
        return retrieval;
    }

    public void setRetrieval(String retrieval) {
        this.retrieval = retrieval;
    }

    public boolean isCascade() {
        return cascade;
    }

    public void setCascade(boolean cascade) {
        this.cascade = cascade;
    }

    @Override
    public String toString() {
        return "QueryArticleCatalogEvt{" +
            "catalogId=" + catalogId +
            ", createUser='" + createUser + '\'' +
            ", catalogName='" + catalogName + '\'' +
            ", articleTitle='" + articleTitle + '\'' +
            ", articleKeyword='" + articleKeyword + '\'' +
            ", retrieval='" + retrieval + '\'' +
            ", cascade=" + cascade +
            '}';
    }
}
